package com.hspedu.exception_;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/1/30
 * @time 16:13
 */
public class Exception01 {
    public static void main(String[] args) throws Exception {
        try {
            f2();
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("程序继续执行");
    }

    public static void f2() {
        int num1 = 10;
        int num2 = 0;
        int res = num1 / num2;
    }
}

